package net.wang.totakecodenotes.wechatofficaccounts.weixin;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 */
@Component   //此注解将其识别为Bean
@ConfigurationProperties(prefix = "weixin")  //
@Data
public  class WinXinConfig {

    private  String appId;
    private  String appSecret;
    private  String token;
}
